﻿using MaiPlanServer.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MaiPlanServer.IServices.IOrganizationaServices
{
    public interface IPostManageServices
    {
        public Task<IEnumerable<sys_post>> GetPost(int PageIndex, int PageSize, string post_code, string post_name, string status);
        public Task<int> GetCountAsync(string post_name);

        public Task<bool> AddAsync(sys_post model);

        public Task<bool> UpdateAsync(sys_post model);

        public Task<bool> DellAsync(string post_id);
        public Task<bool> DellAllAsync(string[] post_id);
    }
}
